home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 1
/
CU Amiga Magazine CD-ROM Special Edition (1995)(EMAP Images)(GB)[Issue 1995-11].iso
/
Aminet
/
text
/
edit
/
WarpMail11.lha
/
WarpMail
/
source
/
DMakefile
< prev
next >
Wrap
Makefile
|
1995-05-15
|
1KB
|
55 lines
# scanner library makefile (DICE)
OD = o/
EXE = golded:syntax/warpMail.parser
CFLAGS = -mRR -ms -mi -s -// -I$(OD) -l0 -Ldlib: -lc -lamiga20 -proto -Idinclude:amiga30
PROTOS = $(OD)lib-protos.h
# linker libraries (used during GoldED development only)
LIB = golded:syntax/developer/dlib/scanlib.lib
RLIB = golded:syntax/developer/dlib/scanlibr.lib
SRLIB = golded:syntax/developer/dlib/scanlibsr.lib
SRCS = init.c lib.c funcs.c tag.a
OBJS = $(SRCS:"*.a":"$(OD)*.o") $(SRCS:"*.c":"$(OD)*.o")
all: $(OD) $(PROTOS) $(EXE) $(LIB) $(RLIB) $(SRLIB)
# note: flush program flushes memory (i.e. any previous version of
# this library that is in memory is flushed), new utility that does
# not exist on older DICE distributions.
$(EXE) : $(OBJS)
dcc $(CFLAGS) %(right) -o %(left) -v
-flush
$(OBJS) : $(SRCS)
dcc $(CFLAGS) %(right) -o %(left) -c
$(PROTOS) : $(SRCS)
makeproto -o %(left) %(right)
$(LIB) : lib.fd
fdtolib golded:syntax/developer/fd/lib.fd -o t:lib.o -I$(OD)
copy t:lib.o %(left)
delete t:lib.o
$(RLIB) : lib.fd
fdtolib golded:syntax/developer/fd/lib.fd -mr -h defs.h -o t:lib.o -I$(OD)
copy t:lib.o %(left)
delete t:lib.o
$(SRLIB) : lib.fd
fdtolib golded:syntax/developer/fd/lib.fd -mr -md -h defs.h -o t:lib.o -I$(OD)
copy t:lib.o %(left)
delete t:lib.o
clean:
-delete $(OBJS) $(PROTOS) QUIET
touch golded:syntax/developer/fd/lib.fd
$(OD) : $(OD)
makedir %(left:*/:*)